import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author caiwl
 * @date 2020/7/1 11:17
 */
public class Shengxiao {
    public static void main(String[] args) {
        String[] shengxiao = {"鼠", "牛", "虎", "兔", "龙", "蛇", "马", "羊", "猴", "鸡", "狗", "猪"};
        int index = index(2020);
        Map<String, List<String>> result = new HashMap<>();
        for (int i = 1, j = index; i < 50; i++) {
            List<String> list = result.get(shengxiao[j]);
            if (list == null) list = new ArrayList<>();
            list.add((i < 10 ? "0": "") + i);
            result.put(shengxiao[j--], list);
            if (j < 0) j = 11;
        }
        System.out.println(result);
    }

    public static int index(int year) {
        return Math.abs(year - 2008) % 12;
    }
}
